package com.net.tkc.pro.service;

import com.net.tkc.pro.entity.See;
import com.net.tkc.pro.impl.SeeImpl;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
public class SeeService implements SeeImpl{
    @Resource
    SeeImpl seeImpl;

    @Override
    public int addSee(See See) {
        return seeImpl.addSee(See);
    }

    @Override
    public List<See> getPostList(int uid) {
        return seeImpl.getPostList(uid);
    }

    @Override
    public List<See> getUserList(int pid) {
        return seeImpl.getUserList(pid);
    }
}
